projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cf4b81
)
* Fix store_function_docstring for for native functions
author
AndreaCorallo
<akrl@sdf.org>
Mon, 9 Mar 2020 16:51:15 +0000
(16:51 +0000)
committer
Andrea Corallo
<akrl@sdf.org>
Tue, 10 Mar 2020 10:43:48 +0000
(10:43 +0000)
Do not Nil native_doc fields. This will be naturally dumped by
pdumper. This was affecting dumped functions.
src/doc.c
patch
|
blob
|
history
diff --git
a/src/doc.c
b/src/doc.c
index 192e20110932ee25207bf49c4ce7fc213e534f28..1b6aa01ef04fd1a710c06ece8ba909be12729e25 100644
(file)
--- a/
src/doc.c
+++ b/
src/doc.c
@@
-510,12
+510,8
@@
store_function_docstring (Lisp_Object obj, EMACS_INT offset)
XSETCAR (tem, make_fixnum (offset));
}
}
- else if (SUBR_NATIVE_COMPILEDP (fun))
- {
- XSUBR (fun)->native_doc = Qnil;
- }
/* Lisp_Subrs have a slot for it. */
- else if (SUBRP (fun))
+ else if (SUBRP (fun)
&& !SUBR_NATIVE_COMPILEDP (fun)
)
{
XSUBR (fun)->doc = offset;
}